<?php

namespace App\Models\user;

use App\Models\base\traits\HasOwner;
use App\Models\base\traits\HasSuperior;
use Illuminate\Database\Eloquent\Model;


/**
 * App\Models\user\ThirdLogin
 *
 * @property int $id
 * @property int $user_id 关联用户id
 * @property string $open_id 应用主键:open_id
 * @property int $app_type 应用类型 1:微信 2:QQ 3:微博
 * @property string $app_name 应用昵称
 * @property string|null $extend 扩展信息 存入json_string
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \App\Models\User $user
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin owner($userId)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereAppName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereAppType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereExtend($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereOpenId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\ThirdLogin whereUserId($value)
 * @mixin \Eloquent
 */
class ThirdLogin extends Model
{

    use HasOwner;
    protected $fillable = [
        'user_id',
        'open_id',
        'app_type',
        'app_name',
        'extend'
    ];
}
